package Classes.CustomEvents// ActionScript file
{
	import flash.events.Event;

	public class CustomEvent extends Event
	{
		public static var CARTOONPLAYOVER:String="cartoonPlayOver";
		private var _msgStr:String;
		public function CustomEvent(type:String,msgStr:String=null,bubbles:Boolean=false,cancelable:Boolean=false):void
		{
			super(type,bubbles,cancelable);
			this._msgStr=msgStr;
		}
		
		override public function clone():Event
		{
			return new CustomEvent(this.type,this.msgStr,this.bubbles,this.cancelable);
		}

		/*getter & setter*/
		public function get msgStr():String
		{
			return _msgStr;
		}

	}
}